package cn.wolfcode.wolf2w.business.service;

import cn.wolfcode.wolf2w.business.domain.Strategy;
import cn.wolfcode.wolf2w.business.repository.StrategyRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

/**
 * @author : 邓风来
 * @date : 2025/9/30 11:41
 */
@Service
public class StrategyService {

    @Autowired
    private StrategyRepository strategyRepository;
    public List<Strategy> search(String query,int size) throws IOException {
        return strategyRepository.search(query,size);
    }
}
